﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DA.BaoCao;
using DO.BaoCao;

namespace BL.BaoCao
{
    public class RevenusReportBL
    {
        public static List<LoaiDichVuDO> GetLoaiDichVu()
        {
            return DA.BaoCao.RevenusReportDA.GetLoaiDichVu();
        }

        public static List<DonViThuNganDO> GetDonViThuNgan()
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNgan();
        }

        public static List<thongtinbaocaoDO> GetDonViThuNganTheoNgay(string tendonvithungan
            , DateTime ngay)
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNganTheoNgay(tendonvithungan, ngay);
        }

        public static List<thongtinbaocaoDO> GetDonViThuNganTheoThang(string tendonvithungan
           , DateTime ngay)
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNganTheoThang(tendonvithungan, ngay);
        }

        public static List<thongtinbaocaoDO> GetDonViThuNganTheoNgayAll(string tendonvithungan
            , DateTime ngay)
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNganTheoNgayAll(tendonvithungan, ngay);
        }

        public static List<thongtinbaocaoDO> GetDonViThuNganTheoThangAll(string tendonvithungan
           , DateTime ngay)
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNganTheoThangAll(tendonvithungan, ngay);
        }
        public static List<thongtinbaocaoDO> GetDonViThuNganTheoTuan(string tendonvithungan
           , DateTime ngay , DateTime end)
        {
            return DA.BaoCao.RevenusReportDA.GetDonViThuNganTheoTuan(tendonvithungan, ngay,end);
        }
    }
}